package com.dsdl.chatapp.data.source.remote;

import android.content.Context;
import android.support.annotation.NonNull;

import com.dsdl.chatapp.data.ChatMsg;
import com.dsdl.chatapp.data.SocketMessage;
import com.dsdl.chatapp.data.source.ChatDataSource;

/**
 * Created by zzg on 2016/8/26.
 */
public class ChatRemoteDataSource implements ChatDataSource {
    private static ChatRemoteDataSource INSTANCE;

    private ChatRemoteDataSource(@NonNull Context context){

    }

    public static ChatRemoteDataSource getInstance(Context context){
        if (INSTANCE == null){
            INSTANCE = new ChatRemoteDataSource(context);
        }
        return INSTANCE;
    }

    @Override
    public void saveMsg(@NonNull SocketMessage chatMsg) {

    }

    @Override
    public void deleteMsg(@NonNull SocketMessage chatMsg) {

    }

    @Override
    public void deleteAllMsg(String userId) {

    }

    @Override
    public void loadOffLineMsg(String userId) {

    }
}
